package com.park.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.park.dao.ParkFeeCriterionMapper;
import com.park.model.ParkFeeCriterion;
import com.park.service.ParkFeeCriterionService;
@Service
public class ParkFeeCriterionServiceImpl implements ParkFeeCriterionService {

	@Autowired
	private ParkFeeCriterionMapper parkFeecriterionMapper;
	@Override
	public int deleteByPrimaryKey(Integer id) {
		// TODO Auto-generated method stub
		return parkFeecriterionMapper.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(ParkFeeCriterion record) {
		// TODO Auto-generated method stub
		return parkFeecriterionMapper.insert(record);
	}

	@Override
	public int insertSelective(ParkFeeCriterion record) {
		// TODO Auto-generated method stub
		return parkFeecriterionMapper.insertSelective(record);
	}

	@Override
	public ParkFeeCriterion selectByPrimaryKey(Integer id) {
		// TODO Auto-generated method stub
		return parkFeecriterionMapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByPrimaryKeySelective(ParkFeeCriterion record) {
		// TODO Auto-generated method stub
		return parkFeecriterionMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(ParkFeeCriterion record) {
		// TODO Auto-generated method stub
		return parkFeecriterionMapper.updateByPrimaryKey(record);
	}

	@Override
	public List<ParkFeeCriterion> selectPage(int i, int pageSize, String name, int id ,int type) {
		// TODO Auto-generated method stub
//		return parkFeecriterionMapper.selectPage(i,pageSize,name,id,type);
		return null;
	}

	@Override
	public int getAllCount(String name, int id, int type) {
		// TODO Auto-generated method stub
//		return parkFeecriterionMapper.getAllCount(name,id,type);
		return 0;
	}

}
